package com.kiell.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kiell.common.utils.PageUtils;
import com.kiell.gulimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author kiell
 * @email kiell@gmail.com
 * @date 2023-05-25 11:10:14
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<PurchaseDetailEntity> listDetaileByPurchaseId(Long id);

    void saveDetail(PurchaseDetailEntity purchaseDetail);

    void updateDetailById(PurchaseDetailEntity purchaseDetail);

    void removeDetialByIds(List<Long> list);
}

